home *** CD-ROM | disk | FTP | other *** search
- Path: news.sover.net!news
- From: sstryker@sover.net (Stew Stryker)
- Newsgroups: comp.lang.c++
- Subject: Re: C++ newbie asks for help
- Date: Fri, 15 Mar 1996 08:24:45 -0400
- Organization: Southern Vermont Network
- Message-ID: <19960315122445.sstryker@sover.net>
- References: <31488AC8.1557@cco.caltech.edu> <4iapek$med@B1FF.mindspring.com>
- NNTP-Posting-Host: pm0a20.wrj.sover.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-NewsReader: Emissary News v1.01.007, by Wollongong Inc.
-
-
- Justin Rudd wrote:
- >This is a very common problem with 4.0 console apps. The problem is
- >you aren't filling the internal buffer with enough characters. What
- >this basically means is...after it does the cout << "starting\a\n";
- >This doesn't fill the buffer enough to be dumped. Its screwy but easy
- >to fix...just add this line right after any cout or ostream operation.
- >
- >cout.flush();
-
- Would
-
- cout << endl;
-
- work as well here? That's what I tend to use, but that's on a VAX, so the
- output's to a terminal.
-
- Just a thought from one newbie to another,
-
- Stew
-